package com.ocean.loader;

import com.ocean.blocks.CheeseBlock;
import com.ocean.constants.ApplicationConstants;
import net.minecraft.block.Block;
import net.minecraftforge.fml.RegistryObject;
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.registries.ForgeRegistries;

/**
 * 方块加载
 *
 * @author zhang
 * @since 2021/10/30
 */
public class BlockLoader {

    public static final DeferredRegister<Block> BLOCKS = DeferredRegister.create(ForgeRegistries.BLOCKS, ApplicationConstants.MOD_ID);

    /**
     * 奶酪块
     */
    public static final RegistryObject<Block> CHEESE_BLOCK = BLOCKS.register("cheese_block", CheeseBlock::new);
}
